package com.cino.users.mapper;

import com.cino.users.domain.User;
import com.cino.basic.base.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Cino
 * @since 2023-02-07
 */
public interface UserMapper extends BaseMapper<User> {
    User loadByPhone(String phone);

    User loadByEmail(String email);

    void updateState(int i, Long id);

    User loadByLogininfoId(Long id);
}
